package com.study.lxy.springcloud.common.constance;

import com.study.lxy.springcloud.common.exception.ErrorMsg;

public enum CommonRespEnum implements ErrorMsg {
    SUCCESS("0000","交易成功"),
    PARM_INVILD("0001","参数不正确"),
    PW_MD5_ERROR("0002","系统错误，请重试"),
    COMMON_ERROR("9999","系统异常，请稍后重试");
    private String code;
    private String message;
    CommonRespEnum(String code, String message){
        this.code = code;
        this.message = message;
    }


    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
